-- GENERATED SPELL FOR [Dragonmaw Subjugator] --


function spell0_21718(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21718', 3000, 1)
end

function Sorts_21718(pUnit, Event)
local choix_sorts_21718 = math.random(0, 0)
if choix_sorts_21718 == 0 then
pUnit:RegisterEvent('spell0_21718', 1, 1)
end
end

function mob21718_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21718', math.random(1500, 3000), 1)
end

function mob21718_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21718_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21718_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21718, 1, 'mob21718_Action')
RegisterUnitEvent(21718, 2, 'mob21718_Leave')
RegisterUnitEvent(21718, 3, 'mob21718_Kill')
RegisterUnitEvent(21718, 4, 'mob21718_Die')
